local Class = require('lua.lang.Class')
local Statement = require('lua.parser.ast.statement.Statement')

--- @class StatementList : Statement
--- @field body Statement[]
local StatementList = Class {
	__extends = Statement
}

--- @param scope Scope
--- @return StatementList
function StatementList:new(scope)
	--- @type StatementList
	local o = {}
	o.nodeName = 'StatementList'
	o.scope = scope
	o.body = {}
	return setmetatable(o, StatementList)
end

return StatementList